﻿using Abp.Domain.Entities;
using System.ComponentModel.DataAnnotations;

namespace Teleware.Newbe.Navigation.Web.Domain.Entities
{
    public class Account : AggregateRoot<long>
    {
        [Required]
        public string Name { get; set; }

        [Required]
        public string UserId { get; set; }

        [Required]
        public string DepartmentId { get; set; }

        public virtual Department Department { get; set; }
    }
}
